/**
 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.library.model;

/**
 * <p>
 * This class is a wrapper for {@link Book}.
 * </p>
 *
 * @author    Meanson Wang
 * @see       Book
 * @generated
 */
public class BookWrapper implements Book {
	public BookWrapper(Book book) {
		_book = book;
	}

	public long getPrimaryKey() {
		return _book.getPrimaryKey();
	}

	public void setPrimaryKey(long pk) {
		_book.setPrimaryKey(pk);
	}

	public long getBookId() {
		return _book.getBookId();
	}

	public void setBookId(long bookId) {
		_book.setBookId(bookId);
	}

	public long getCompanyId() {
		return _book.getCompanyId();
	}

	public void setCompanyId(long companyId) {
		_book.setCompanyId(companyId);
	}

	public long getGroupId() {
		return _book.getGroupId();
	}

	public void setGroupId(long groupId) {
		_book.setGroupId(groupId);
	}

	public long getPublisherId() {
		return _book.getPublisherId();
	}

	public void setPublisherId(long publisherId) {
		_book.setPublisherId(publisherId);
	}

	public java.lang.String getTitle() {
		return _book.getTitle();
	}

	public java.lang.String getTitle(java.util.Locale locale) {
		return _book.getTitle(locale);
	}

	public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
		return _book.getTitle(locale, useDefault);
	}

	public java.lang.String getTitle(java.lang.String languageId) {
		return _book.getTitle(languageId);
	}

	public java.lang.String getTitle(java.lang.String languageId,
		boolean useDefault) {
		return _book.getTitle(languageId, useDefault);
	}

	public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
		return _book.getTitleMap();
	}

	public void setTitle(java.lang.String title) {
		_book.setTitle(title);
	}

	public void setTitle(java.util.Locale locale, java.lang.String title) {
		_book.setTitle(locale, title);
	}

	public void setTitleMap(
		java.util.Map<java.util.Locale, java.lang.String> titleMap) {
		_book.setTitleMap(titleMap);
	}

	public java.lang.String getAuthorName() {
		return _book.getAuthorName();
	}

	public void setAuthorName(java.lang.String authorName) {
		_book.setAuthorName(authorName);
	}

	public java.util.Date getPublicationDate() {
		return _book.getPublicationDate();
	}

	public void setPublicationDate(java.util.Date publicationDate) {
		_book.setPublicationDate(publicationDate);
	}

	public com.liferay.library.model.Book toEscapedModel() {
		return _book.toEscapedModel();
	}

	public boolean isNew() {
		return _book.isNew();
	}

	public void setNew(boolean n) {
		_book.setNew(n);
	}

	public boolean isCachedModel() {
		return _book.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_book.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _book.isEscapedModel();
	}

	public void setEscapedModel(boolean escapedModel) {
		_book.setEscapedModel(escapedModel);
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _book.getPrimaryKeyObj();
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _book.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_book.setExpandoBridgeAttributes(serviceContext);
	}

	public java.lang.Object clone() {
		return _book.clone();
	}

	public int compareTo(com.liferay.library.model.Book book) {
		return _book.compareTo(book);
	}

	public int hashCode() {
		return _book.hashCode();
	}

	public java.lang.String toString() {
		return _book.toString();
	}

	public java.lang.String toXmlString() {
		return _book.toXmlString();
	}

	public Book getWrappedBook() {
		return _book;
	}

	private Book _book;
}